#ifndef INTEGERFIELD_H
#define INTEGERFIELD_H

#include <QString>
#include <QVariant>
#include "BaseField.h"
#include "ClassifierField.hpp"

class IntegerField : public BaseField /*, IClassifierField<int> */
{
public:
    IntegerField(const QString &name, int lenght);
    IntegerField(const QString &name, const QString &description, int lenght);

    bool validate(const QVariant &value) const;
};

#endif // INTEGERFIELD_H
